namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 备份 - SKU信息
    /// </summary>
    public DbSet<POBakProdSku> BakProdSkus { get; set; }
}

/// <summary>
/// 备份 - SKU信息
/// 表[bak_prod_sku]
/// </summary>
[Table("bak_prod_sku")]
public class POBakProdSku
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[bak_prod_sku.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 产品条码
    /// [bak_prod_sku.sku_code)]
    /// </summary>
    [Column("sku_code")]
    public string SkuCode { get; set; }
    /// <summary>
    /// 产品数量
    /// [bak_prod_sku.product_count)]
    /// </summary>
    [Column("product_count")]
    public int? ProductCount { get; set; }
    /// <summary>
    /// 物料Id
    /// [bak_prod_sku.material_id)]
    /// </summary>
    [Column("material_id")]
    public long? MaterialId { get; set; }
    /// <summary>
    /// [bak_prod_sku.product_batch)]
    /// </summary>
    [Column("product_batch")]
    public string ProductBatch { get; set; }
    /// <summary>
    /// 生产日期
    /// [bak_prod_sku.md_time)]
    /// </summary>
    [Column("md_time")]
    public DateTime? MdTime { get; set; }
    /// <summary>
    /// 组盘完成
    /// [bak_prod_sku.is_combined)]
    /// </summary>
    [Column("is_combined")]
    public int? IsCombined { get; set; }
    /// <summary>
    /// 创建时间
    /// [bak_prod_sku.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [bak_prod_sku.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [bak_prod_sku.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// [bak_prod_sku.remark_memo)]
    /// </summary>
    [Column("remark_memo")]
    public string RemarkMemo { get; set; }
    /// <summary>
    /// [bak_prod_sku.back_time)]
    /// </summary>
    [Column("back_time")]
    public DateTime? BackTime { get; set; }
}
